﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;

namespace Server.Model
{
    public class Route
    {
        [Key]
        public int Id { get; set; }
        //[Required]
        public virtual Station From { get; set; }
        //[Required]
        public virtual Station To { get; set; }
        [Required]
        public int Time { get; set; }
        [Required]
        public double Distance { get; set; }
    }
}
